package com.smartstate.iot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smartstate.iot.entity.AmmeterMeter;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AmmeterMeterMapper extends BaseMapper<AmmeterMeter> {



    @Select("select ratio from ammeter_meter where site = #{deviceId};")
    String getSiteByDeviceId(String deviceId);
}
